<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="vue.js"></script>
</head>
<body>
    <div id="app">
        <h2>{{tips}}</h2>
        用户名：<input name="name">
        密码： <input name="password">
    </div>

    </body>
    <script>
        var vm = new Vue({
            el:"#app",
            data: {
                tips:'这是登录页面'
            }
        });
    </script>
</body>
</html>